package com.bkgy.modular.tbdistributionopt.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bkgy.modular.tbdistributionopt.entity.TbDistributionOpt;
import com.bkgy.sys.common.entity.ResultData;

/**
 * Author:Lipeng Zhao
 * Description:
 *
 * @Date:Created In 13:14 2025/10/23
 */
public interface TbDistributionOptService extends IService<TbDistributionOpt> {

    /**
     * 分页查看记录
     * @param data 分页参数字符串
     */
    ResultData findDataTbDistributionOptByPage(String data);

    /**
     * 添加记录
     * @param data json字符串
     */
    ResultData insertOne(String data);


    /**
     * 根据主键删除对象
     * @param data  对象
     * */
    ResultData deleteOneById(String data);


    /**
     * 根据主键字符串删除多个对象
     * @param data 对象主键字符串
     */
    ResultData deleteManyByIds(String data);


    /**
     * 修改记录
     */
    ResultData updateDataTbDistributionOpt(JSONObject jsonObject);

}
